package ExceptionTest.test1_2;

public class UserNotEnoughException extends Exception {

    private String msg;
    private int code;

    public UserNotEnoughException()
    {
      super();
    }

    public UserNotEnoughException(String message, int code)
    {
        super(message);
        this.msg = message;
        this.code = code;

    }
    public String getMsg()
    {
        return msg;
    }
    public int getCode()
    {
        return code;
    }
    public void setMsg(String message)
    {
        this.msg = message;

    }
    public void setCode(int code)
    {
        this.code = code;
    }

}
